package com.youi.entity;

import java.util.Date;
import java.io.Serializable;


/**
 * 实体类
 * @author XJY
 */
public class Deliveryrule implements Serializable {

	private Long id;							//ID
	private Date gmtCreated;							//创建时间
	private Integer delStatus;							//删除状态（0否 1是）
	private Date gmtModify;							//最后修改时间
	private String name;							//规则名称
	private Integer status;							//状态(0关闭 1开启)
	private Integer isLimitArea;							//限制区域(0否 1是)
	private Double totalAmount;							//订单免运费达标金额
	private Double drAmount;							//运维
	private Integer isShowTitle;							//显示标题(0否 1是)
	private String companyCode;							//公司编码
	private String areaNo;							//区域编码
	private Integer step;							//区域等级(0国家 1省份 2城市)

    public Deliveryrule(){

    }

    public Deliveryrule(Long id,Date gmtCreated,Integer delStatus,Date gmtModify) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
    }


    public Deliveryrule(Long id,Date gmtCreated,Integer delStatus,Date gmtModify,String name,Integer status,Integer isLimitArea,Double totalAmount,Double drAmount,Integer isShowTitle,String companyCode,String areaNo,Integer step) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
       this.name=name;
       this.status=status;
       this.isLimitArea=isLimitArea;
       this.totalAmount=totalAmount;
       this.drAmount=drAmount;
       this.isShowTitle=isShowTitle;
       this.companyCode=companyCode;
       this.areaNo=areaNo;
       this.step=step;
    }


	public void setId(Long id){
		this.id=id;
	}

	public Long getId(){
		return id;
	}

	public void setGmtCreated(Date gmtCreated){
		this.gmtCreated=gmtCreated;
	}

	public Date getGmtCreated(){
		return gmtCreated;
	}

	public void setDelStatus(Integer delStatus){
		this.delStatus=delStatus;
	}

	public Integer getDelStatus(){
		return delStatus;
	}

	public void setGmtModify(Date gmtModify){
		this.gmtModify=gmtModify;
	}

	public Date getGmtModify(){
		return gmtModify;
	}

	public void setName(String name){
		this.name=name;
	}

	public String getName(){
		return name;
	}

	public void setStatus(Integer status){
		this.status=status;
	}

	public Integer getStatus(){
		return status;
	}

	public void setIsLimitArea(Integer isLimitArea){
		this.isLimitArea=isLimitArea;
	}

	public Integer getIsLimitArea(){
		return isLimitArea;
	}

	public void setTotalAmount(Double totalAmount){
		this.totalAmount=totalAmount;
	}

	public Double getTotalAmount(){
		return totalAmount;
	}

	public void setDrAmount(Double drAmount){
		this.drAmount=drAmount;
	}

	public Double getDrAmount(){
		return drAmount;
	}

	public void setIsShowTitle(Integer isShowTitle){
		this.isShowTitle=isShowTitle;
	}

	public Integer getIsShowTitle(){
		return isShowTitle;
	}

	public void setCompanyCode(String companyCode){
		this.companyCode=companyCode;
	}

	public String getCompanyCode(){
		return companyCode;
	}

	public void setAreaNo(String areaNo){
		this.areaNo=areaNo;
	}

	public String getAreaNo(){
		return areaNo;
	}

	public void setStep(Integer step){
		this.step=step;
	}

	public Integer getStep(){
		return step;
	}

}
